<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/21
 * Time: 17:37
 */

namespace HiCommon\Model;


class RoadRescueConfig extends Base
{
    protected $table = 'road_rescue_config';

    protected $guarded = [];


    public function extend(){
        return $this->hasMany(RoadRescueConfigExtend::class,  'link_id' ,'id' );
    }

    public function shop(){
        return $this->belongsTo(Shop::class,  'repairstore_id'  );
    }


}